package com.cssrc.wenjie.hbase.service;

import java.util.List;

import org.apache.hadoop.hbase.TableName;

/**   
* @des 表DDL操作接口
* @author wenjie   
* @date 2018年8月31日 下午5:58:19 
* @version V1.0  
*/
public interface HBaseDDL {
    /** table operator **/
    public void createTable(String tableName, String... families);
    
    public void deleteTable(String tableName);
    
    public List<TableName> listTables();
    
    public boolean isTableExist(String tableName);
    
    public List<String> queryTable();
    
    /** family operator **/
    public void addFamilies(String tableName, String... families);
    
    public void deleteFamilies(String tableName, String... families);
    
    public List<String> listFamilies(String tableName);
}
